package com.example.scugroup8.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (Users)实体类
 * @author hsx
 * @since 2022-06-09 22:54:50
 */
@ApiModel(value = "Users",description = "$tableInfo.comment")
public class Users implements Serializable {
    private static final long serialVersionUID = 300914107874500416L;
    /**
    * 用户id
    */
	@ApiModelProperty(name = "id",notes = "用户id",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 用户名
    */
	@ApiModelProperty(name = "username",notes = "用户名",dataType = "String",required = true)
    private String username;
    /**
    * 密码（md5）
    */
	@ApiModelProperty(name = "password",notes = "密码（md5）",dataType = "String",required = true)
    private String password;
    /**
    * 电话号码
    */
	@ApiModelProperty(name = "phone",notes = "电话号码",dataType = "String",required = true)
    private String phone;
    /**
    * 邮箱
    */
	@ApiModelProperty(name = "email",notes = "邮箱",dataType = "String",required = true)
    private String email;
    /**
    * 权限名，默认为用户user，管理员admin
    */
	@ApiModelProperty(name = "role",notes = "权限名，默认为用户user，管理员admin",dataType = "String",required = true)
    private String role;
    /**
    * 权限编号，默认1，管理员为2
    */
	@ApiModelProperty(name = "auth",notes = "权限编号，默认1，管理员为2",dataType = "Integer",required = true)
    private Integer auth;
	@ApiModelProperty(name = "registerTime",notes = "注册时间",dataType = "Date",required = true)
    private Date registerTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
        
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
        
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
        
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
        
    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
        
    public Integer getAuth() {
        return auth;
    }

    public void setAuth(Integer auth) {
        this.auth = auth;
    }
        
    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

}